ci: add 15min timeout to build/test jobs and cache apt packages#80
ci: add 15min timeout to build/test jobs and cache apt packages#80
Conversation
- Replace apt-get install step with awalsh128/cache-apt-pkgs-action which caches downloaded .deb packages across CI runs - Add timeout-minutes: 15 to build and test jobs to prevent hangs from blocking the run - Keep ccache step as before
|
Warning Rate limit exceeded
To continue reviewing without waiting, purchase usage credits in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
timeout-minutes: 15tobuildandtestjobs to prevent a single hung job from blocking the entire runapt-get installstep withawalsh128/cache-apt-pkgs-action@latestto cache downloaded .deb packages across CI runs (avoids repeated 2min+ package installs)Root Cause
Previous merge run (25502651370) hung on
sudo apt-get install -y cmake clang clang-tidy llvm ninja-build ccachefor over 2 hours. The package install completed successfully on the other build variants but this one runner was slow/blocked.Changes
buildjob:timeout-minutes: 15+awalsh128/cache-apt-pkgs-actionreplacing manual apt-gettestjob:timeout-minutes: 15(no apt-get change needed since it only runs after build)